package cn.xyafu.service.impl;

import cn.xyafu.dao.TLTDao;
import cn.xyafu.po.Tlt;
import cn.xyafu.service.TLTService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class TLTServiceImpl implements TLTService {
    @Autowired
    private TLTDao tltDao;
    //插入数据（lid：失物信息id；tid：失物类型id）
    @Override
    public Integer addTLT(Tlt tlt) {
        return this.tltDao.addTLT(tlt);
    }
}
